dig in (one's) pocket

Translations
копаться в (чьих-то) карманах
He had to dig in his pocket to find the keys.
Ему пришлось покопаться в карманах, чтобы найти ключи.